<div id="jingfeiModal" style="" class="modal fade bs-example-modal-lg"
     tabindex="-1" role="dialog" aria-labelledby="myModalLabel"

     data-backdrop="static" data-keyboard="false"
     aria-hidden="true">
    <div class="modal-dialog modal-md" style=" width: 400px;">
        <div class="modal-content">
            <div id="title" class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true" @click="close()">&times;</button>

                <h4 class="modal-title" id="myModalLabel" style="font-size: 18px;">录入经费</h4>
            </div>
            <div class="modal-body" style="overflow: auto;">
                <form class="form-horizontal col-sm-12" role="form">
                    <div class="form-group">
                        <label class="col-sm-5 control-label"  ><span
                                class="required">*</span>经费总额（万元）</label>
                        <div class="col-sm-7">
                            <input type="text" class="form-control" autofocus ref="truename"
                                   placeholder="请输入经费总额"  />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-5 control-label"  ><span
                                class="required">*</span>经费余额（万元）</label>
                        <div class="col-sm-7">
                            <input type="text" class="form-control" autofocus ref="truename"
                                   placeholder="请输入经费余额"  />
                        </div>
                    </div>


                    <div class="form-group">
                        <div class="col-sm-12" style="text-align: center;">
                            <input v-if="editFlag==1" type="button" class="btn btn-primary"
                                   v-on:click="modify();"  value="修改" />
                            <input v-else type="button" class="btn btn-primary"
                                   v-on:click="add();"  value="保存" />


                        </div>
                    </div>


                </form>
            </div>

        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal -->
</div>

